package com.yisu.expressway.ui.recyclerview;

import android.content.Context;
import android.support.v7.widget.GridLayoutManager;

/**
 * Created by Administrator on 2016/9/23 0023.
 */
public class DisableScrollGridLayoutManager extends GridLayoutManager {

    public DisableScrollGridLayoutManager(Context context, int spanCount) {
        super(context, spanCount);
    }

    public DisableScrollGridLayoutManager(Context context, int spanCount,int orientation,
                                          boolean reverseLayout) {
        super(context,spanCount,orientation,reverseLayout);
    }

    @Override
    public boolean canScrollVertically() {
        return false;
    }
}
